tmem: cleanup: drop useless '_subpage' wrap functions
authorBob Liu <lliubbo@gmail.com>
Fri, 8 Nov 2013 01:03:56 +0000 (09:03 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 12 Nov 2013 15:15:26 +0000 (10:15 -0500)
commit9a022746f9667b700e986af458697a9fde093605
tree68d7b998d823ff880f2f8d6fd31259eaecd6684b
parent501d6114e672ad56c4308a58adddc719021939db
tmem: cleanup: drop useless '_subpage' wrap functions

There are too many alloc place in tmem which cause the source code is hard too
read.
Most of the alloc path are useless and only referenced only once, this patch
drops 'tmem_alloc_subpage/_thispool' and '_tmem_alloc'.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/tmem.c
xen/include/xen/tmem_xen.h